
/**
 *tagfolder
 *Licensed under LGPL
 *http://code.google.com/p/tagfolder
 *chuanshenglu@gmail.com
 *xrjieyee@gmail.com
 *
 */

#include <string>
#include "utilCommon"
using namespace std;

class UtilTag{
private:
    TagStorage tagStorage;     
public:
    bool LoadTag(const string& tagName, TagInfo& tagInfo);
    bool StoreTagInfo(TagInfo& tagInfo){return tagStorage.Store(tagInfo);}
    bool IsExist(const string& tagName);
    bool IsExist(TagInfo& tag);
};
class TagStorage{
public:
    bool Store(TagInfo& tagInfo);       
}
struct TagInfo{
    string tagId;
    string tagName;
    string tagDescription;
    DateTime createTime;
}
